//Author：TaozhouchuanSun Mar 22 01:47:51 CST 2020
package com.jic.manager.entity.vo.request;

import com.jic.conf.request.base.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = "请求参数")
public class CmsTemplateRequest extends BasePage {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")
    private Long id;

    // @NotEmpty(message = "模板code") 
    @ApiModelProperty(notes = "模板code")
    private String code;

    // @NotEmpty(message = "模板作用域") 
    @ApiModelProperty(notes = "模板作用域")
    private String path;

    // @NotEmpty(message = "1:基础模板 2：商品营销 3：其他") 
    @ApiModelProperty(notes = "1:基础模板 2：商品营销 3：其他")
    private Integer templateType;

    // @NotEmpty(message = "模板名称") 
    @ApiModelProperty(notes = "模板名称")
    private String name;

    // @NotEmpty(message = "css") 
    @ApiModelProperty(notes = "css")
    private String css;

    // @NotEmpty(message = "html") 
    @ApiModelProperty(notes = "html")
    private String html;

    // @NotEmpty(message = "js") 
    @ApiModelProperty(notes = "js")
    private String js;

    // @NotEmpty(message = "后台js") 
    @ApiModelProperty(notes = "后台js")
    private String backJs;

    // @NotEmpty(message = "后台样式") 
    @ApiModelProperty(notes = "后台样式")
    private String backCss;

    // @NotEmpty(message = "后台html内容") 
    @ApiModelProperty(notes = "后台html内容")
    private String backHtml;

    // @NotEmpty(message = "预览图片") 
    @ApiModelProperty(notes = "预览图片")
    private String previewImg;

    // @NotEmpty(message = "数据类型") 
    @ApiModelProperty(notes = "数据类型")
    private Integer dataType;

    // @NotEmpty(message = "模板排序") 
    @ApiModelProperty(notes = "模板排序")
    private Integer sortValue;

    // @NotEmpty(message = "平台:1:h5、2:pc") 
    @ApiModelProperty(notes = "平台:1:h5、2:pc")
    private Integer platform;

    // @NotEmpty(message = "模板版本号") 
    @ApiModelProperty(notes = "模板版本号")
    private String templateVer;

    // @NotEmpty(message = "是否删除：0不删除， 1删除 ") 
    @ApiModelProperty(notes = "是否删除：0不删除， 1删除 ")
    private Integer deleteFlag;

    // @NotEmpty(message = "创建时间") 
    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    // @NotEmpty(message = "更新时间") 
    @ApiModelProperty(notes = "更新时间")
    private Date updateTime;

    // @NotEmpty(message = "创建用户") 
    @ApiModelProperty(notes = "创建用户")
    private Long creator;

    // @NotEmpty(message = "更新用户") 
    @ApiModelProperty(notes = "更新用户")
    private Long updator;

}
